package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.UserBuyVip;
import com.ruoyi.business.vo.UserBuyVipListVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface UserBuyVipMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(UserBuyVip record);

    UserBuyVip selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserBuyVip record);

    int updateByPrimaryKey(UserBuyVip record);

    IPage<UserBuyVipListVO> queryPage(@Param("page") Page page, @Param("startDate") Date startDate, @Param("endDate") Date endDate );
}